//
//  UILabel+EPMLabel.m
//  UICode001基本数据结构
//
//  Created by 马继鵬 on 17/2/12.
//  Copyright © 2017年 EPM. All rights reserved.
//

#import "UILabel+EPMLabel.h"

@implementation UILabel (EPMLabel)

+ (instancetype)EPM_labelWithTitle:(NSString*)title textColor:(UIColor*)color font:(CGFloat)font
{
    UILabel* label= [[UILabel alloc]init];
    label.text = title;
    label.textColor = color == nil ? [UIColor blackColor] : color;
    label.font = font == 0 ? [UIFont systemFontOfSize:15] : [UIFont systemFontOfSize:font];
    return label;
}

@end
